#ifndef GRAPHICS_H
#define GRAPHICS_H

typedef struct Image * HImage;

HImage load_png(const char * path);
int free_image(HImage image);

int init_graphics(int width, int height, int bpp);

void enable_blend(int blend);
void add_image(HImage image, int x, int y, int w, int h, int clipX, int clipY, int clipW, int clipH);

void render_scene(void);

#endif